#!/usr/bin/env python
# -*- coding:utf-8 -*-
# __author__ = "tingfeng"
# Date: 2020/4/29
from appium.webdriver.common.touch_action import TouchAction

from util.server import Server
import re
import os
import time
from handle.login_handle import LoginHandle
from page.login_page import LoginPage
class LoginBusiness:
    def __init__(self,i):
        self.login_handle = LoginHandle(i)

    def login_method(self):
        self.login_handle.sendPassword()
        self.login_handle.click_loginButton()

if __name__ == "__main__":
    server = Server()
    server.main()
    login_business = LoginBusiness(0)
    login_business.page_click()




